package dao.balance;

public interface BalanceDao {
    /**
     * 消费
     * @param username,out
     * @author 夏添
     * @date 2020/11/12 17:26
     */
    public void Out(String username,float out) throws Exception;


    /**
     * 收入
     * @param username,come
     * @author 夏添
     * @date 2020/11/12 17:26
     */
    public void Come(String username,float come) throws Exception;


    /**
     * 查询余额
     * @param username,come
     * @return float
     * @author 夏添
     * @date 2020/11/12 17:26
     */
    public float getBalance(String username) throws Exception;
}
